package com.sky.mapper.user;

import com.sky.pojo.AddressBook;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface AddressBookMapper {
    void save(AddressBook addressBook);

    List<AddressBook> select(Long currentId);

    AddressBook selectById(Long id);

    void update(AddressBook addressBook);

    void delete(Long id);


    void setNotDefault(Long currentId);

    void setDefault(Long id);

    void setDefault2(Long id);


}
